using MediatR;
using Medical.Api.Write.Dto.BasicManagement.EquipmentPackageDictionaryDto;
using Medical.ErrorCode;

namespace Medical.Api.Write.Application.Command.BasicManagement.EquipmentPackageDictionaryCommand
{
    /// <summary>
    /// 创建器械包命令
    /// </summary>
    public class CreateEquipmentPackageCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 器械包数据
        /// </summary>
        public CreateEquipmentPackageDto PackageData { get; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="packageData">器械包数据</param>
        public CreateEquipmentPackageCommand(CreateEquipmentPackageDto packageData)
        {
            PackageData = packageData;
        }
    }
}